import { createRouter, createWebHistory } from 'vue-router'
import NetDebug from '../views/NetDebug.vue'
import SerialDebug from '../views/SerialDebug.vue'

const routes = [
    {
        path: '/',
        redirect: '/net'
    },
    {
        path: '/net',
        component: NetDebug
    },
    {
        path: '/serial',
        component: SerialDebug
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router